package com.gaojinqi.base.common.exception;

import com.gaojinqi.base.common.constant.RespConst;

/**
 * 权限相关异常
 *
 * @author gaojinqi
 * @version 1.0
 * @since 2020年06月12日
 */
public class NoPermissionException extends BizRuntimeException {

    public NoPermissionException() {
        super(RespConst.RespEnum.NO_PERMISSIONS);
    }

    public NoPermissionException(String message) {
        super(RespConst.RespEnum.NO_PERMISSIONS.getCode(), message);
    }

    protected NoPermissionException(RespConst.RespEnum respEnum) {
        super(respEnum);
    }

}
